HAL RNG state and error functions migration ¶
This section provides information about the HAL RNG state and error functions migration.
HAL RNG get State ¶
Note
The functions
HAL_I2C_GetState()
remain unchanged.
|
Description |
HAL1 |
HAL2 |
|---|---|---|
|
Retrieve the current state of the RNG |
|
|
Related concepts: Revised and optimized HAL state machine
HAL RNG get error ¶
|
HAL1 |
HAL2 |
|---|---|
HAL_RNG_GetError()
|
HAL_RNG_GetLastErrorCodes()
|
Related concept: Revised and optimized HAL error management